import Vue from 'vue'
import Router from 'vue-router'
import GoodsList from '@/view/supply/purchase/GoodsList'
import Pay from '@/view/supply/purchase/Pay'

Vue.use(Router)

export default new Router({
  routes: [
    { path: '/', redirect: "/goodslist" },
    { path: '/goodslist', name: 'goodslist', component: GoodsList },
    { path: '/pay', name: 'pay', component: Pay }
  ]
})
